<div class="bjui-pageContent">
    <form action="{:url('GlobalSet/add')}" class="pageForm" data-toggle="validate" method="post">
        <table class="table-bordered table-condensed table-hover" width="100%">
            <tbody>
            <tr>
                <td>
                    <label for="j_cname" class="control-label x75">中文名称：</label>
                    <input type="text" name="cname" id="j_cname" value="" maxlength="20" data-rule="required" size="35" />
                </td>
            </tr>
            <tr>
                <td>
                    <label for="j_key" class="control-label x75">字段键名：</label>
                    <input type="text" name="key" id="j_key" value="" maxlength="20" data-rule="required;key;remote[{:url('GlobalSet/same')}]" size="35" />
                </td>
            </tr>
            <tr>
                <td>
                    <label for="j_value" class="control-label x75">字段键值：</label>
                    <textarea name="value" id="j_value" data-toggle="autoheight" cols="35" rows="4" style="resize:none;"></textarea>
                </td>
            </tr>
            <tr>
                <td>
                    <label for="j_desc" class="control-label x75">说明信息：</label>
                    <textarea name="desc" id="j_value" data-toggle="autoheight" cols="35" rows="3" style="resize:none;"></textarea>
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="undo">取消</button></li>
        <li><button type="submit" class="btn-green" data-icon="save">保存</button></li>
    </ul>
</div>